package com.woniuxy.productdao.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 团课预约表
 * </p>
 *
 * @author 冉杰
 * @since 2024-01-15
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("team_reservation")
public class TeamReservation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 团课预约ID
     */
    @TableId(value = "reservation_id", type = IdType.AUTO)
    private Integer reservationId;

    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;

    /**
     * 产品id
     */
    @TableField("team_product_id")
    private Integer teamProductId;

    /**
     * 产品名
     */
    @TableField("team_product_name")
    private String teamProductName;

    /**
     * 状态（0 已取消 1已预约 2已开课）
     */
    @TableField("reservation_state")
    private Integer reservationState;

    /**
     * 预约时间
     */
    @TableField("reservation_time")
    private String reservationTime;

    /**
     * 取消时间
     */
    @TableField("cacel_time")
    private String cacelTime;

    /**
     * 商家id
     */
    @TableField("venue_id")
    private Integer venueId;

    /**
     * 用户姓名
     */
    @TableField("user_name")
    private String userName;
    /**
     * 用户电话
     */
    @TableField("user_phone")
    private String userPhone;
}
